package com.teyao.teyao_back.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teyao.teyao_back.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface OrderMapper extends BaseMapper<Orders> {
    @Update("update orders set driver_name = #{driverName} , number = #{number} where order_id = #{orderId}")
    int updateInfo(Orders orders);
}
